package com.ny.wlw;

public class Test02 {
    public static void main(String[] args) {
        Car car = new Car();
        Bike bike = new Bike();
        car.setMake("奔驰");
        car.setModel(300);
        System.out.println(car.getMake());
        System.out.println(car.getModel());
        car.drive();
        car.test();

        bike.setMake("法拉利");
        bike.setModel(500);
        System.out.println(bike.getMake());
        System.out.println(bike.getModel());
        bike.drive();
        bike.test();
    }
}
